
<div class="page">
	<div class="pageContent">
		<form method="post" action="/admin/user/edit/${user.user_id}" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
			<div class="pageFormContent" layoutH="56">
				<p>
					<label>用 户 名：</label>
					<input name="user_id" type="text" size="30" class="required " readonly="readonly" value="${user.user_id}"/>
				</p>
				<p>
					<label> 姓 名 ：</label>
					<input name="user_name" class="required" editable=True type="text" size="30" value="${user.user_name}" alt="请输入用户姓名"/>
				</p>
					<p>
					<label> 修改密码 ：</label>
					<input name="user_pwd"  type="Password" size="30" editable=True  alt="不修改密码请留空" /><span class="unit">不修改密码请留空</span>
				</p>
				<p>
					<label>email地址：</label>
					<input name="user_email" class="email" type="text" size="30" editable=True alt="请输入email地址" value="${user.user_email}"/>
				</p>
				<p>
					<label> 启 用 ：</label>
					<input name="is_lock" type="checkbox" size="30" editable=True value="Y" 
							%if user.is_lock=='Y':
								checked 
							%endif />
				</p>
				<div class="divider"></div>
				<p>
					<label> 所属用户组 ：</label>
					<select  name="group_id" value="选择用户组" editable=True>					
						<option value="">选择用户组</option>
						  %for i in g:							
							  <option value="${i.group_id}" 
							  %if user.group_id==i.group_id:
								selected="selected" 
								%endif
							  >
							  ${i.group_code} ${i.group_name} 
							  </option>					
					        %endfor						
					</select>
				</p>		
			</div>
			<div class="formBar">
				<ul>
					<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
					<li>
						<div class="button"><div class="buttonContent"><button class="close" value="关闭">关闭</button></div></div>
					</li>
				</ul>
			</div>
		</form>
	</div>
</div>